package com.dhcc.bpm.modules.api.service.impl;

import com.dhcc.bpm.modules.api.entity.ApiStar;
import com.dhcc.bpm.modules.api.vo.ApiStarVO;
import com.dhcc.bpm.modules.api.mapper.ApiStarMapper;
import com.dhcc.bpm.modules.api.service.IApiStarService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName ApiStarServiceImpl
 * @Description API星级评价表 服务实现类
 * @Author daina
 * @Date 2020/2/25 15:22
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service
public class ApiStarServiceImpl extends BaseServiceImpl<ApiStarMapper, ApiStar> implements IApiStarService {

	@Override
	public IPage<ApiStarVO> selectApiStarPage(IPage<ApiStarVO> page, ApiStarVO apiStar) {
		return page.setRecords(baseMapper.selectApiStarPage(page, apiStar));
	}

}
